//获取短信验证码工具
import { Base } from 'base.js'
class Sms extends Base {
  constructor() {
    super();
  }
  //获取短信验证码
  send(param, cb) {
    var that = this;
    var allParams = {
      url: 'sms/sms',
      data: param,
      type: 'post',
      sCallback: function (res) {
        cb && cb(res)
      }
    };
    this.request(allParams);
  }
}
export { Sms }